package com.smartcommunity.entity.facelib;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

@ApiModel(description = "人脸库请求参数模型。所有标记\"后端自动填充\"的属性都不需要前端传参 ")
@Data
public class FaceLib implements Serializable {
    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value="人脸库编号，主键，长度<=48，删除时多个编号用英文逗号分隔",name="libId")
    private String libId;

//    @ApiModelProperty(value="小区名称，后端自动填充",name="villageName")
//    private String villageName;

    @ApiModelProperty(value="是否共享。1 - 共享，0 - 不共享。长度<=2",name="share")
    private String share = "0";

    @ApiModelProperty(value="人脸库名称，支持两侧模糊查询，长度<=255",name="libName")
    private String libName ;//第三方库名称

    @ApiModelProperty(value="库类型。支持多选查询,编号英文逗号分隔。复用的标签类型",name="type")
    private String type;//库类型

    @ApiModelProperty(value="库类型名称",name="typeName")
    private String typeName;//库类型名称

    @ApiModelProperty(value="库中人员统计数，后端自动填充",name="total")
    private Integer total;//库里面的总人数

//    @ApiModelProperty(value="布控类型，单选。枚举 - 0：布控库布控 1：临控",name="controlType")
//    private Integer controlType;

    @ApiModelProperty(value="描述，长度<=255",name="dsc")
    private String dsc;

    @ApiModelProperty(value = "查询页数，默认1")
    private Integer pageNumber=1;

    @ApiModelProperty(value = "查询页大小，默认10")
    private Integer pageSize=10;

//    @ApiModelProperty(value="标签内容, 0：告警推送 1：打标签",name="label")
//    private String label;

    @ApiModelProperty(value = "创建时间，后端自动填充")
    private Timestamp mrowTime;

    @ApiModelProperty(value = "创建时间，后端自动填充")
    private Timestamp updateTime;

    @ApiModelProperty(value = "创建用户ID，后端自动填充")
    private String createUser;

}
